package com.hankai.service;

import com.hankai.common.ServerResponse;
import com.hankai.pojo.Shipping;

/**
 * Created by hankai on 2017/6/9.
 */
public interface IShippingService {
    ServerResponse addShipping(Integer userId, Shipping shipping);

    ServerResponse deleteShipping(Integer userId, Integer shippingId);

    ServerResponse updateShipping(Integer userId, Shipping shipping);

    ServerResponse searchShipping(Integer userId, Integer shippingId);

    ServerResponse searchShippingAll(Integer userId, Integer pageNum, Integer pageSize);
}
